#microk8s snap package tutorial
Explore tagged Tumblr posts
Text
Microk8s vs k3s: Lightweight Kubernetes distribution showdown
Microk8s vs k3s: Lightweight Kubernetes distribution showdown #homelab #kubernetes #microk8svsk3scomparison #lightweightkubernetesdistributions #k3sinstallationguide #microk8ssnappackagetutorial #highavailabilityinkubernetes #k3s #microk8s #portainer
Especially if you are into running Kubernetes in the home lab, you may look for a lightweight Kubernetes distribution. Two distributions that stand out are Microk8s and k3s. Letâs take a look at Microk8s vs k3s and discover the main differences between these two options, focusing on various aspects like memory usage, high availability, and k3s and microk8s compatibility. Table of contentsWhat isâŠ
View On WordPress
#container runtimes and configurations#edge computing with k3s and microk8s#High Availability in Kubernetes#k3s installation guide#kubernetes cluster resources#Kubernetes on IoT devices#lightweight kubernetes distributions#memory usage optimization#microk8s snap package tutorial#microk8s vs k3s comparison
0 notes
Text
Kubernetes is the most trending word in the sphere of Containerization and Microservices. But deploying Kubernetes can be expensive, mostly when not being done to power production applications. In this tutorial, Iâll introduce you to MicroK8s tool which enables you to run the latest stable upstream Kubernetes release in Snap. Production deployment: Deploy Production Kubernetes Cluster with Ansible & Kubespray For Docker users: How To run Local Kubernetes clusters in Docker MicroK8s is just a single package of k8s that installs on most Linux flavors and any other system which can run Snap. This is fit for running on IoT devices such as Raspberry Pi, personal computers and Desktops. This deployment is not recommended for Production setups but only for offline development, prototyping, testing, or use it on a VM as a small, cheap, reliable k8s for CI/CD. Features of MicroK8s â (https://microk8s.io/) Fast install â Get a full Kubernetes system running in under 60 seconds. Small â Use MicroK8s in your CI/CD pipelines and get on with your day without headaches. Secure â Runs safely on your laptop with state of the art isolation. Complete â Includes a docker registry so you can make containers, push them, and deploy them all on your laptop. Upgrades â When a new major version comes out, upgrade with a single command (or automatically). Featureful â Cool things you probably want to try on a small, standard K8s are all built-in. Just enable them and go. GPU Passthrough â Give MicroK8s a GPGPU and your Docker containers can get all nice and CUDA. Upstream â CNCF binaries delivered to your laptop, with updates and upgrades. Setup Requirements Linux Operating system â Debian, Ubuntu, CentOS, RHEL, Fedora, Arch e.t.c Snap installed User with sudo Step 1: Install Snapd We have guides on installation of Snapd: Install Snap on Ubuntu/Debian, CentOS 7, Fedora, Arch Linux/Manjaro. Step 2: Install MicroK8s After installing Snap, you can start MicroK8s installation using Snap. Snaps are frequently updated to match each release of Kubernetes. sudo snap install microk8s --classic Installation should look like this: All Published version can be checked with: snap info microk8s Once MicroK8s is installed, it will start creating a one node Kubernetes cluster. Status for this deployment can be checked using. # microk8s.status microk8s is running addons: jaeger: disabled fluentd: disabled gpu: disabled storage: disabled registry: disabled ingress: disabled dns: disabled metrics-server: disabled prometheus: disabled istio: disabled dashboard: disabled From the output, we can see is MicroK8s is running and the state of addons available. To check cluster info, use: # microk8s.kubectl cluster-info Kubernetes master is running at https://127.0.0.1:16443 Also get status of k8s node. # microk8s.kubectl get nodes NAME STATUS ROLES AGE VERSION microk8s Ready 5m17s v1.14.0 If youâre not comfortable with microk8s.kubectl command, you can create an alias for it. echo "alias kubectl='microk8s.kubectl'" >>~/.bashrc source ~/.bashrc Then you can use kubectl command: # kubectl get nodes -o wide NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME microk8s Ready 10m v1.14.0 192.168.10.175 Ubuntu 18.04.2 LTS 4.15.0-45-generic containerd://1.2.5 Enable/Disable Kubernetes Addons on MicroK8s Addons available for MicroK8s are: dashboard: Deploy kubernetes dashboard as well as grafana and influxdb. dns: Deploy kube dns storage: Create a default storage class. This storage class makes use of the hostpath-provisioner pointing to a directory on the host. Persistent volumes are created under $SNAP_COMMON/default-storage. ingress: Create an ingress controller. istio: Deploy the core Istio services. Use the microk8s.istioctl command to manage your deployments.
registry:  Deploy an image private registry and expose it on localhost:32000 metrics-server: Deploy the Metrics Server. prometheus: Deploy the Prometheus Operator v0.25. fluentd: Deploy Elasticsearch-Kibana-Fluentd logging and monitoring solution. jaeger: Deploy the Jaeger Operator v1.8.2 in the âsimplestâ configuration. You can enable and disable addons available for Kubernetes. Enable Addons Use the microk8s.enable command to enable addons. # microk8s.enable dashboard dns Enabling dashboard secret/kubernetes-dashboard-certs created serviceaccount/kubernetes-dashboard created deployment.apps/kubernetes-dashboard created service/kubernetes-dashboard created service/monitoring-grafana created service/monitoring-influxdb created service/heapster created deployment.extensions/monitoring-influxdb-grafana-v4 created serviceaccount/heapster created configmap/heapster-config created configmap/eventer-config created deployment.extensions/heapster-v1.5.2 created dashboard enabled Enabling DNS Applying manifest service/kube-dns created serviceaccount/kube-dns created configmap/kube-dns created deployment.extensions/kube-dns created Restarting kubelet DNS is enabled Enable Storage addon: # microk8s.enable storage Enabling default storage class deployment.extensions/hostpath-provisioner created storageclass.storage.k8s.io/microk8s-hostpath created Storage will be available soon To enable Storage and Istio addons: # microk8s.enable istio The same format apply for other plugins. Confirm enabled addons with: # microk8s.status microk8s is running addons: jaeger: disabled fluentd: disabled gpu: disabled storage: enabled registry: enabled ingress: disabled dns: disabled metrics-server: disabled prometheus: disabled istio: disabled dashboard: enabled For more information like URL, use: microk8s.kubectl cluster-info Output: Disable Addons Use microk8s.disable command to disable addon. # microk8s.disable istio Disabling Istio namespace "istio-system" deleted Istio is terminating Deploying Pods and Containers on MicroK8s Deployments are done in standard Kubernetes way. See the example below which will create Nginx deployment with two containers. # microk8s.kubectl run nginx --replicas 2 --image nginx deployment.apps/nginx created # microk8s.kubectl get deployments NAME READY UP-TO-DATE AVAILABLE AGE nginx 2/2 2 2 39s # microk8s.kubectl get pods NAME READY STATUS RESTARTS AGE nginx-7db9fccd9b-7662b 1/1 Running 0 61s nginx-7db9fccd9b-87z6d 1/1 Running 0 61s Expose service: # microk8s.kubectl expose deployment nginx --port 80 --target-port 80 \ --type ClusterIP --selector=run=nginx --name nginx service/nginx exposed # microk8s.kubectl get services NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE kubernetes ClusterIP 10.152.183.1 443/TCP 27m nginx ClusterIP 10.152.183.54 80/TCP 104s Delete Deployment # microk8s.kubectl delete deployment nginx deployment.extensions "nginx" deleted # microk8s.kubectl delete service nginx service "nginx" deleted Stopping and Restarting MicroK8s You can easily shutdown MicroK8s when not in use without un-installing it. # microk8s.stop Stopped. Start MicroK8s using: # microk8s.start Started. Removing MicroK8s If you wish to completely remove MicroK8s, first stop all running pods. microk8s.reset Then remove MicroK8s snap. snap remove microk8s  Conclusion MicroK8s is the quickest and most lightweight Kubernetes deployment tool available. It is ideal for playing with Kubernetes without mastery of Linux and Containers concepts before you can get started. For more reading, visit MicroK8s Documentation page.
0 notes
Text
Sourdough French Toast with Strawberry Compote: Your New Brunch Obsession!

Weekend brunch should be warm, cozy, and just a little bit extraâwithout the stress. Thatâs exactly what this sourdough French toast with whipped cream and chunky strawberry compote is all about. It takes simple, end-of-week ingredients and turns them into something so dreamy youâll feel like youâre sitting in a sun-drenched cafĂ©.
This is French toast for the people who say they donât even like French toast. Why? Because itâs not mushy. Itâs not boring. Itâs sourdoughâcrispy-edged, custardy-centered, and full of flavor. Add a warm fruit compote made from strawberries that were seconds away from compost, a swirl of whipped cream, and youâve got brunch magic.
Whether youâre meal-prepping for the weekend or looking to rescue those almost-too-old fridge ingredients, this recipe is here for you. Letâs dive in.

đ„ Why Weâre Obsessed with Sourdough for French Toast
If regular sandwich bread French toast leaves you underwhelmed, this is your glow-up moment. Sourdough is the unsung hero of the brunch world. It has just enough structure to soak up the custard without collapsing. Its crust gets golden and crisp, while the inside turns softâbut not soggy. Plus, the subtle tanginess of sourdough balances beautifully with sweet toppings.
Itâs also the best way to give that end-of-week sourdough loaf a second life. Even dry or slightly stale slices work better than fresh bread here. Actually... they work best.
If your sourdough is still too fresh, just toast it lightly or let it sit out for 30 minutes before dipping.

đ Ingredient Lineup (You Likely Have These Already!)
This recipe makes enough for 2â3 servings but scales easily for a crowd.
For the French toast:
4 slices sourdough bread (stale or day-old is ideal)
4 large eggs
1 cup almond milk (or oat, dairy, or your fave alternative)
1 tsp pure vanilla extract
Pinch of salt
For the quick strawberry compote:
1 cup strawberries (fresh or overripe)
1â2 tbsp honey or maple syrup (adjust to taste)
1 tsp lemon juice
1/2 tsp vanilla extract
For the whipped cream topping:
1/2 cup cold heavy cream
1 tsp powdered sugar (optional)
1/2 tsp vanilla extract
This is a great moment to use what youâve got. Got only two eggs? Halve it. No almond milk? Any milk will do. Thatâs the beauty of this recipeâitâs flexible, forgiving, and full of flavor no matter what.

đ Whatâs a Compote, Anyway?
Think of compote as the rustic, no-fuss cousin of jam. Itâs quick, chunky, and meant to be enjoyed warm. While jam is thickened with pectin and usually packed with sugar, compote lets the fruit do the talking. You cook it just long enough for the juices to thicken slightly and the fruit to softenâbut never so long that it disappears into jelly.
Our version is made from strawberries that were this close to going bad in the fridge. We simmer them with a bit of honey, some lemon juice to brighten things up, and vanilla for warmth. The result? A spoonable topping thatâs glossy, sweet, and packed with juicy berry bits.
You can swap in nearly any fruit youâve got hanging aroundâraspberries, blueberries, peaches, nectarines, even plums or apples. As long as theyâre soft enough to break down a bit with heat, youâre golden.

đ©âđł Step-by-Step Instructions
Step 1: Make the Strawberry Compote
Add your strawberries, honey, lemon juice, and vanilla to a small saucepan. Bring everything to a gentle simmer over medium heat. Let it cook for about 8 to 10 minutes, stirring occasionally, until the berries soften and start to break down.
You can mash them slightly with a spoon or leave them a little chunkyâyour call! We love leaving some whole pieces for texture. Once itâs thickened slightly, take it off the heat and let it cool. It will continue to set as it cools.
Pro tip: Leftover compote? Spoon it over oatmeal, swirl it into yogurt, or add it to chia pudding.
Step 2: Whip the Cream
If youâre making fresh whipped cream, this is your moment. Add cold heavy cream to a mixing bowl (metal works best), along with the vanilla and powdered sugar. Whip it until soft peaks form. You can use a hand mixer, stand mixer, or even a whisk if youâve got the arm strength and some time.
Place it in the fridge to chill until youâre ready to serve. Bonus: it keeps well for a day or two in a sealed container.
Step 3: Prepare the French Toast Custard
In a wide, shallow bowl, whisk together the eggs, almond milk, vanilla, and salt. The salt helps balance the sweetness and enhances the flavors.
Dip each slice of sourdough into the custard, letting it soak for about 10 to 15 seconds per side. You want the bread to feel saturated but not falling apart.
If your slices are extra thick or extra dry, give them a few more secondsâbut donât overdo it, or youâll lose that perfect texture weâre going for.
Step 4: Cook the French Toast
Heat a nonstick or well-seasoned cast iron skillet over medium-low heat. If needed, add a little butter or neutral oil to prevent sticking.
Place your custard-soaked slices in the pan and cook for 3â4 minutes on each side until golden brown and lightly puffed. If you're making a bigger batch, keep the finished slices warm on a baking sheet in the oven at 200°F while you finish the rest.

đ„ Letâs Build Your Brunch Plate
Once all your components are ready, itâs go-time.
Plate your golden sourdough slices, spoon on a generous amount of the warm strawberry compote, and top it all off with a dollop (or mountain) of whipped cream. If youâre feeling fancy, dust with powdered sugar or add a drizzle of maple syrup for that extra brunch sparkle âš
You can also add sliced fresh fruit, toasted almonds, or even a drizzle of nut butter if you want to level it up.
Serving suggestion: this pairs beautifully with coffee, a mimosa, or some sparkling water with lemon and mint.

đĄ Why Youâll Make This Again (and Again)
It uses up what youâve already got: stale sourdough, end-of-week eggs, and soft fruit.
Itâs flexible, adaptable, and dairy-free optional.
Itâs golden and crispy, not mushy or soggy like regular French toast.
It looks beautiful and tastes even better.
It feels like a weekend treatâbut itâs easy enough to make on a weekday too.
This is one of those recipes that makes you feel like youâve got your life together, even when youâre scraping the bottom of the fridge.
đ Tips, Tricks, and Swaps
Fresh bread? Let it sit out or lightly toast it before soaking.
No almond milk? Any milk worksâdairy, oat, soy, coconut, whatever youâve got.
No strawberries? Use blueberries, blackberries, or chopped apples or plums.
Dairy-free? Sub in plant-based milk and coconut whipped cream.
Gluten-free? Use your favorite gluten-free sourdough or rustic loaf.
Want to feed a crowd? Turn this recipe into a baked French toast casserole. Just double the custard, slice up your bread, and layer it all in a buttered baking dish. Bake at 350°F for 35â40 minutes until golden and puffed.
đ A French Toast FAQ
Can I make French toast with fresh bread? Yes, but let it dry out a bit first. A slightly stale loaf will soak up the custard without falling apart. You can also toast fresh slices lightly to mimic that dryness.
Can I make the compote ahead of time? Absolutely! It keeps well in the fridge for up to 5 days in a sealed container. Just reheat gently before serving.
Is this recipe freezer-friendly? Totally! Cook the French toast, let it cool completely, and freeze between parchment layers. Reheat in a toaster or oven. The compote can also be frozen in small portions.
Whatâs the best pan to use? A non-stick skillet or well-seasoned cast iron pan works best for that crisp, golden finish.
Where can I find more Brunch Recipe ideas? If you're looking for easy but elevated brunch and breakfast ideas check them out here!
đ Now Itâs Your Turn!
Tried it? Made it your own? We seriously want to see your creations! Tag @TastyCue on Instagram or drop a comment below to tell us what fruit you used or how you switched it up.
And if cozy, low-waste brunches are your jam (pun intended), donât forget to subscribe to our newsletter. Weâve got plenty more where this came fromâthink comfort food, fridge rescues, and delicious recipes that make the most of what youâve already got. đ„°
Much love,
Sidney and Thomas
Source: Sourdough French Toast with Strawberry Compote: Your New Brunch Obsession!
217 notes
·
View notes